home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Inventor Labs: Technology
/
INVENTORLABS_TECHNOLOGY.BIN
/
pc
/
files
/
bell.dir
/
00399_Script_Letter parent
< prev
next >
Wrap
Text File
|
1997-05-26
|
2KB
|
64 lines
-- o Letter
property pLabelTxtCast, pDescriptionTxtCast, pInstructionTxtCast
property pCurrPage, pActiveTextDB, pNumOfPages, pPageSnd, pLettertextCastNum
global gActiveInventor, gUtilityObj,gInventorIndexNum
--------------------------------------------------------------------------------------------------------------------
on mInit me
set pLabelTxtCast = the number of cast "labelTxt"
set pDescriptionTxtCast = the number of cast "descrTxt"
set pInstructionTxtCast = the number of cast "instrTxt"
set pPageSnd = 1392
set pLettertextCastNum = the number of cast "Letter text"
return( me )
end mInit
--------------------------------------------------------------------------------------------------------------------
on mActivate me
set pNumOfPages = 2
set pActiveTextDB = the text of cast "Letter Text"
set pCurrPage = 1
mSetCursors(gUtilityObj, [7:#Finger])
end mActivate
--------------------------------------------------------------------------------------------------------------------
on mNextPage me
puppetsound 2, pPageSnd
set pCurrPage = pCurrPage + 1
go the frame + 1
set the text of cast pInstructionTxtCast = the text of cast (pLettertextCastNum + pCurrPage -1)
end mNextPage
--------------------------------------------------------------------------------------------------------------------
on mPrevPage me
puppetsound 2, pPageSnd
go the frame - 1
set pCurrPage = pCurrPage - 1
set startline = pCurrPage
set endline = pCurrPage
set the text of cast pInstructionTxtCast = the text of cast (pLettertextCastNum + pCurrPage - 1)
end mPrevPage
--------------------------------------------------------------------------------------------------------------------
on mClose
sound stop 2
set the text of cast pDescriptionTxtCast = " "
end mClose
--------------------------------------------------------------------------------------------------------------------